import { sum } from './comm.js'
import imgSrc from './assets/2.png'
import read from './assets/read.txt'
import './index.css'
import './index.less'

console.log('hello webpack!')
console.log(sum(1, 25))

const img = document.createElement('img')
img.style.cssText = 'width: 500px'
img.src = imgSrc
document.body.appendChild(img)
console.log(read)

const div = document.createElement('div')
div.style.cssText = 'width: 500px; height:500px'
document.body.appendChild(div)

async function test() {
	const a = await 888
	console.log(a)
}

test()
